package com.xiong.wuliao.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 单品实体类
 * Created by Administrator on 2016/11/5.
 */
public class Goods implements Serializable{
    private String brand_id;
    private String brand_order;
    private String category_id;
    private String cover_image_url; // 单品封面图片
    private String created_at; // 创建时间
    private String description; // 商品详细介绍
    private String editor_id; //
    private String favorites_count;
    private String id;
    private List<String> image_urls; // 商品详细介绍图片
    private boolean is_favorite; // 是否点赞
    private String name; // 单品标题
    private String price; // 单品价格
    private String purchase_id;
    private String purchase_url; // 淘宝链接
    private String subcategory_id;
    private String updated_at; // 更新时间
    private String url; // 商品详细介绍网页

    public Goods() {
    }

    public Goods(String brand_id, String brand_order, String category_id, String cover_image_url, String created_at, String description, String editor_id, String favorites_count, String id, List<String> image_urls, boolean is_favorite, String name, String price, String purchase_id, String purchase_url, String subcategory_id, String updated_at, String url) {
        this.brand_id = brand_id;
        this.brand_order = brand_order;
        this.category_id = category_id;
        this.cover_image_url = cover_image_url;
        this.created_at = created_at;
        this.description = description;
        this.editor_id = editor_id;
        this.favorites_count = favorites_count;
        this.id = id;
        this.image_urls = image_urls;
        this.is_favorite = is_favorite;
        this.name = name;
        this.price = price;
        this.purchase_id = purchase_id;
        this.purchase_url = purchase_url;
        this.subcategory_id = subcategory_id;
        this.updated_at = updated_at;
        this.url = url;
    }

    public String getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(String brand_id) {
        this.brand_id = brand_id;
    }

    public String getBrand_order() {
        return brand_order;
    }

    public void setBrand_order(String brand_order) {
        this.brand_order = brand_order;
    }

    public String getCategory_id() {
        return category_id;
    }

    public void setCategory_id(String category_id) {
        this.category_id = category_id;
    }

    public String getCover_image_url() {
        return cover_image_url;
    }

    public void setCover_image_url(String cover_image_url) {
        this.cover_image_url = cover_image_url;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEditor_id() {
        return editor_id;
    }

    public void setEditor_id(String editor_id) {
        this.editor_id = editor_id;
    }

    public String getFavorites_count() {
        return favorites_count;
    }

    public void setFavorites_count(String favorites_count) {
        this.favorites_count = favorites_count;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<String> getImage_urls() {
        return image_urls;
    }

    public void setImage_urls(List<String> image_urls) {
        this.image_urls = image_urls;
    }

    public boolean is_favorite() {
        return is_favorite;
    }

    public void setIs_favorite(boolean is_favorite) {
        this.is_favorite = is_favorite;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPurchase_id() {
        return purchase_id;
    }

    public void setPurchase_id(String purchase_id) {
        this.purchase_id = purchase_id;
    }

    public String getPurchase_url() {
        return purchase_url;
    }

    public void setPurchase_url(String purchase_url) {
        this.purchase_url = purchase_url;
    }

    public String getSubcategory_id() {
        return subcategory_id;
    }

    public void setSubcategory_id(String subcategory_id) {
        this.subcategory_id = subcategory_id;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
